﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CateList.aspx.cs" Inherits="UDS.SubModule.UnitiveDocument.OfficeSupplies.CateList" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="pragma" content="no-cache" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Language" content="zh-cn" />
<meta name="author" content="Herry" />
<meta name="Copyright" content="Copyright (c) 2009 himm.cn" />
<title>新建类别</title>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<link rel="stylesheet" type="text/css" href="/css/other.css" media="screen" />
<link rel="stylesheet" type="text/css" href="/css/table.css" />
</head>
<body>
	<form id="form1" method="post" runat="server">
    <div class="m">
    <div class="path"><span class="right"><asp:Button ID="But_NewCate" runat="server" CssClass="redButtonCss" Text="开始新建" OnClick="But_NewCate_Click" />
                    <input class="redButtonCss" onclick="dhistory.back();" type="button" value="返   回" name="cmdReturn"></span><a href="/SubModule/UnitiveDocument/Desktop.aspx">我的桌面</a> >> 新建类别</div>
    <div class="con">
	<asp:GridView ID="GV_CateList" runat="server" CellPadding="3" BackColor="#FFFFFF"  BorderColor="#93BEE2" Width="100%" AutoGenerateColumns="False" OnRowEditing="GV_CateList_RowEditing" OnRowCancelingEdit="GV_CateList_RowCancelingEdit"  OnRowUpdating="GV_CateList_RowUpdating" OnRowDataBound="GV_CateList_RowDataBound" OnRowDeleting="GV_CateList_RowDeleting" AllowPaging="True" PageSize="25">
    <Columns>
        <asp:BoundField DataField="ost_id" HeaderText="序号">
            <HeaderStyle Width="10%" />
            <ControlStyle CssClass="inputcss" />
            <ItemStyle HorizontalAlign="Center" />
        </asp:BoundField>
        
        <asp:BoundField DataField="type_name" HeaderText="类别名称">
            <HeaderStyle Width="20%" />
            <ControlStyle CssClass="inputcss" Width="95%" />
        </asp:BoundField>
        
        <asp:BoundField DataField="type_desc" HeaderText="类别描述">
            <HeaderStyle Width="40%" />
            <ControlStyle CssClass="inputcss" Width="95%" />
        </asp:BoundField>
        
        <asp:BoundField DataField="type_sort" HeaderText="排序">
            <ControlStyle CssClass="inputcss" Width="95%" />
            <HeaderStyle Width="10%" />
        </asp:BoundField>
        
        <asp:CommandField HeaderText="编辑" ShowEditButton="True">
            <HeaderStyle Width="10%" />
            <ItemStyle HorizontalAlign="Center" />
        </asp:CommandField>
       
        <asp:CommandField HeaderText="删除" ShowDeleteButton="True" >
            <HeaderStyle Width="10%" />
            <ItemStyle HorizontalAlign="Center" />
        </asp:CommandField>
        
    </Columns>
    <HeaderStyle HorizontalAlign="Center" Height="20px" ForeColor="White" VerticalAlign="Middle" BackColor="#337FB2"></HeaderStyle>
    <PagerStyle HorizontalAlign="Center" BackColor="#FFFFCC" BorderStyle="None" BorderWidth="0px" ForeColor="#330099" />
    <PagerSettings Visible="False" />         	
                    </asp:GridView>
		 <p>
                    <asp:LinkButton ID="lnkbtnFrist" runat="server" OnClick="lnkbtnFrist_Click">首页</asp:LinkButton> 
                    <asp:LinkButton ID="lnkbtnPre" runat="server" OnClick="lnkbtnPre_Click">上一页</asp:LinkButton> 
                    <asp:Label ID="lblCurrentPage" runat="server"></asp:Label> 
                    <asp:LinkButton ID="lnkbtnNext" runat="server" OnClick="lnkbtnNext_Click">下一页</asp:LinkButton> 
                    <asp:LinkButton ID="lnkbtnLast" runat="server" OnClick="lnkbtnLast_Click">尾页</asp:LinkButton> 
                    跳转到第<asp:DropDownList ID="ddlCurrentPage" runat="server" AutoPostBack="True" OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged"></asp:DropDownList>页

		</p>
    </div>
  </div>
</form>
</body>
</html>